package org.springframework.zp.order.simple;

import lombok.extern.slf4j.Slf4j;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Order(5)
@Component("1")
@Slf4j(topic = "1e")
public class Z1 {

	/**
	 * 无参构造函数
	 */
	public Z1() {
		log.debug("Z1 -- order-{}", this.getClass().getAnnotation(Order.class).value());
	}

	@PostConstruct
	public void initMethod() {
		log.debug("****      annatation init bean z1      ****");
	}


}
